gsk: Normalize when transforming bounds
authorMatthias Clasen <mclasen@redhat.com>
Mon, 28 Sep 2020 15:23:51 +0000 (11:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 28 Sep 2020 15:34:16 +0000 (11:34 -0400)
commit431f144f3795c8a7ec6177cda3b0d6f14bf0200f
tree01419ad7c27e86848dfe77a04f13000e5db20829
parent8487e82133e10c7ca6c68992607b86e15dcd10e9
gsk: Normalize when transforming bounds

Bounds are assumed to be normalized, and transforms
with negative scales or 3d rotations can make us get
negative sizes.

Fix by Benjamin Otte.
gsk/gsktransform.c